package helloworld.dao.msaccess;

import helloworld.dao.CenterDao;
import helloworld.dao.ClassDao;
import helloworld.dao.CourseDao;
import helloworld.dao.DAOFactory;
import helloworld.dao.LearnerDao;
import helloworld.dao.NewsDao;
import helloworld.dao.OpinionDao;
import helloworld.dao.TeacherDao;

/**
 * This is a implementation of Factory Method
 * 
 * @author TUYEN-DM
 * @version $Revision:   $ $Date: 2009/05/13  $
 */
public class DAOFactory_AccessImpl extends DAOFactory 
{

	public CenterDao getCenterDAO() 
	{
		return new CenterDAO_AccessImpl();
	}

	@Override
	public ClassDao getClassDAO() {
		// TODO Auto-generated method stub
		return new ClassDAO_AccessImpl();
	}

	@Override
	public CourseDao getCourseDAO() {
		// TODO Auto-generated method stub
		return new CourseDAO_AccessImpl();
	}

	@Override
	public LearnerDao getLearnerDAO() {
		// TODO Auto-generated method stub
		return new LearnerAO_AccessImpl();
	}

	@Override
	public NewsDao getNewsDAO() {
		// TODO Auto-generated method stub
		return new NewsDAO_AccessImpl();
	}

	@Override
	public OpinionDao getOpinionDAO() {
		// TODO Auto-generated method stub
		return new OpinionDAO_AccessImpl();
	}

	@Override
	public TeacherDao getTeacherDAO() {
		// TODO Auto-generated method stub
		return new TeacherDAO_AccessImpl();
	}
	
	

}
